# -*- coding: latin-1 -*-
#
# This is the configuration file for ExternalBoxESP+bot by sph4ck & dheir
#
# you should find here many parameters to customize your hack without changing code
#

# this file is interpreted as Python code, so beware: you can easily break the program

# ----------------------------------------------------------------------
#

COD_WINDOW_CLASS = "CoDBlackOps"    # window class used to find BlackOps window

# ----------------------------------------------------------------------
# You can customize below to avoid easily bannable hack

APP_NAME = 'Launcher'            # name of the hack window

# this is the maximum FPS allowed for the hack. It is not guaranteed that it will reach that level though...
MAIN_MAX_FPS = 60

# ----------------------------------------------------------------------
# Graphical preferences
#
# All colors are in 0xAARRGGBB format
#    AA = (alpha) transparency, from 00 (transparent) to FF (opaque)
#    RR = red
#    GG = green
#    BB = blue

# position of the Radar on the screen
RADAR_SIZE = 192            # size of the radar in pixels
RADAR_OFFSET = 20           # margin from top and right of the screen, in pixels
RADAR_CENTER_X = 0          # X offset from center: 0 means center of the screen
RADAR_RANGE = 50            # this is the scale divider for the radar: the higher value, the higher range (players are closer)

KEY_BIG_RADAR = "+VK_ADD "  # display a global map with players, good for air-strikes
KEY_RADAR_MAP = "ON"        # display map background?
BIG_RADAR_SCALE = 0.4       # scale factor for maps, 1.0 makes a 512x512 pix, 0.5 is reduced to 256x256
BIG_RADAR_BLENDING = 0xDF7F7F7F     # blending color used in BigRadar

# colors for the BOX Esp
COLOR_FRIEND = 0x7F0000FF                  # blue
COLOR_ENEMY = 0x7FC00000                   # dark red
COLOR_ENEMY_COLDBLOODED = 0x80FFBF00       # orange
COLOR_DEAD = 0x7F444444                    # dead body, the player is watching killcam
COLOR_SENTRY = 0x7F00B050                  # green
COLOR_EXPLOSIVE = 0x3F7F7F7F               # yellow

# 
COLOR_BOX_LINE_WIDTH = 3                    # width of the arrow from lower screen to box
COLOR_BOX_OUTER_WIDTH = 3                   # width of the Box ESP
COLOR_PLAYER_NAME = 0x7FFFFFFF              # color of the player name
PLAYER_NAME_FONT = "Arial"
PLAYER_NAME_SIZE = 14
PLAYER_NAME_WEIGHT = 400

#
KEY_ENEMY_BEHIND = "+VK_F12"                # same as snap line
ENEMY_BEHIND_Y = 80                         # Y offset from center
ENEMY_BEHIND_X = 60                         # X offset for left/right indicators
ENEMY_BEHIND_COLOR_BLEND = 0xCFFFFFFF              # color blending of arrow sprites
ENEMY_BEHIND_SCALING = 1.0

# colors for mini-map
MAP_COLOR_BACK = 0x00000000                 # radar back color
MAP_COLOR_BORDER = 0x7F0000FF               # radar border color
MAP_COLOR_ME = 0xFF00FF00                   # color of my player
MAP_COLOR_FRIEND = 0xFF4444FF               # color of team-mates
MAP_COLOR_ENEMY = 0XFFFF4444                # color of enemies
MAP_COLOR_ENEMY_COLDBLOODED = 0XFFFFBF44    # color of enemies with coldblood perk
MAP_BLENDING = 0xDF7F7F7F

# color of the claymore ESP
COLOR_CLAYMORE = 0x3FFF6666                 # color of claymores
COLOR_CLAYMORE_DISTANCE = 0x7FFF6666        # color of distance indicator for claymore
COLOR_CLAYMORE_SPRITE = 0xAF7F7F7F          # blending color for sprites
COLOR_PLANE = 0x7F880088                    # color for planes & helicopters
COLOR_MAP_BLENDER_FRIEND = 0xFF7FFF7F       # adds green color to friend sprites
COLOR_MAP_BLENDER_ENEMY = 0xFFFF7F7F        # adds red color to enemy sprites
COLOR_MAP_BLENDER_NEUTRAL = 0xFFFFFFFF      # no color correction
# distance ESP (in meters or ft)
DISTANCE_ESP_UNIT =  0.03048                # use  0.03048 for meters, or 0.1 for ft
DISTANCE_ESP_UNIT_NAME = "m"                # either "m" or "ft"

# fading esp
FADE_ENABLED = True                         # set to False to disable fading
FADE_MIN_DIST = 300                         # in 1/10th of ft, so 600 is ~20m
FADE_MIN_ALPHA = 0xB0                       # level of transparency
FADE_MAX_DIST = 2500                        # in 1/10th of ft, 2500 is ~80m
FADE_MAX_ALPHA = 0x62                       # level of transparency
# ----------------------------------------------------------------------
# rage module - special coloring for the player you want to rage

KEY_RAGE_PREV = "!VK_PRIOR"                 # page up
KEY_RAGE_NEXT = "!VK_NEXT"                  # page down
KEY_RAGE_RESET = "!VK_DELETE"               # delete key

RAGE_COLOR_ESP = 0XFFFF0066                 # purple
RAGE_COLOR_MAP = 0XFFFF0066                 # purple

# below is the display of raged player
KEY_RAGE_DISPLAY_NAME = "VK_PRIOR VK_NEXT VK_DELETE"
RAGE_FONT_NAME = "Arial"
RAGE_FONT_SIZE = 24
RAGE_FONT_WEIGHT = 700
RAGE_FONT_COLOR = 0xBFFFFFFF                # white
RAGE_RESET_STRING = "-------------"

# ----------------------------------------------------------------------
# Cross hair
CROSSHAIR_COLOR = 0xCCFF1111                # crosshair color
CROSSHAIR_WIDTH = 2                         # crosshair width
CROSSHAIR_SIZE = 10                         # crosshair length

# ----------------------------------------------------------------------
# Status line
STATUS_COLOR_ACTIVE = 0xFFFFCC00
STATUS_COLOR_INACTIVE = 0xFF777777
STATUS_COLOR_LINE = 0xAF000000              # color of status line
KEY_SPH4CK_DISPLAY = "ON"

# ----------------------------------------------------------------------
# ammo counter

AMMO_COUNTER_MARGIN_RIGHT = 200
AMMO_COUNTER_MARGIN_BOTTOM = 12
AMMO_COUNTER_BACK_OFFSET = 2
AMMO_COUNTER_BACK_COLOR = 0xE0000000
AMMO_COUNTER_TEXT_COLOR = 0xE0CFCF7F
AMMO_COUNTER_FONT_NAME = "Arial"
AMMO_COUNTER_FONT_SIZE = 24
AMMO_COUNTER_FONT_WEIGHT = 700
# ----------------------------------------------------------------------
# killstreak display

KILLSTREAK_FONT = "Arial"
KILLSTREAK_SIZE = 80
KILLSTREAK_WEIGHT = 700
# ----------------------------------------------------------------------
# bot constants

GRAV = 800.0
TUBE_VEL = 2400.0
KNIFE_VEL = 1520.0
BOT_MOTION_COMPENSATE = -1.5

# below are the height of aiming for regular weapon, depending on pose
# feet-to-eyes are 60 (stand), 40 (crouched), 20 (prone)
# beware that having too much headshots can unbalance your stats, use EAM to reset them
BOT_STAND_Z = 52            # or 55 for more headshots
BOT_CROUCHED_Z = 38
BOT_PRONE_Z = 10

BOT_TUBE_Z = 0
BOT_KNIFE_Z = 30

#BOT_MIN_PIX_TO_CENTER = 200        # aim only if not more than 200 pixels from center of screen
BOT_MAX_TO_CENTER = 0.2             # number of pixel to hop next targetfraction of horizontal resolution: ex for 1024*768, it is 1024*.2 = 204
BOT_HOP_MIN_TO_CENTER = 0.05        # number of pixel to hop next target, fraction of horizontal resolution: ex for 1024*768, it is 1024*.05 = 51
BOT_FRAME_COLOR = 0x6FFF0000        # color of the spot / kind of laser red spot
KEY_BOT_DRAW_SPOT = "ON"            # shall we draw the aimbot spot?

BOT_SPEED_1 = 2.5
BOT_SPEED_TICK_1 = 10
BOT_SPEED_2 = 1.8
BOT_SPEED_TICK_2 = 30
BOT_SPEED_3 = 1.3

KEY_BOT_VISUAL_MOUSE = "+VK_SUBTRACT"
VISUAL_MOUSE_SIZE = 50            # size of the radar in pixels
VISUAL_MOUSE_BOTTOM_MARGIN = 20
VISUAL_MOUSE_RIGHT_MARGIN = 20
VISUAL_MOUSE_COLOR_BACK = 0x7F000000                 # radar back color
VISUAL_MOUSE_COLOR_BORDER = 0x7F0000FF               # radar border color
VISUAL_MOUSE_COLOR_CROSSHAIR = 0x7F4F4F4F            # radar border color
VISUAL_MOUSE_COLOR_LINE = 0xFF00FF00
VISUAL_MOUSE_LINE_WIDTH = 4
# ----------------------------------------------------------------------
# labels
F1_LABEL = "display"
F2_LABEL = "move disp"
F3_LABEL = "crosshair"
F4_LABEL = "explo"
F5_LABEL = "aimbot"
F6_LABEL = "weapon"
F7_LABEL = "tomabot"
F8_LABEL = "autostab"
F9_LABEL = "trigbot"
F10_LABEL = "radar"
F11_LABEL = "boxesp"
F12_LABEL = "snapline"

# virtual keys ON and OFF are also accepted if always on or off
# all globs starting with IS_ are parsed and mapped to an F key or ON/OFF
KEY_STATUS =                "+VK_F1"                        # is status display enabled
KEY_STATUS_UP =             "+VK_F2"                        # to select if you want the status up on the screen 
KEY_CROSSHAIR =     		"+VK_F3"
KEY_EXPLOSIVES =    		"+VK_F4"
KEY_AIMBOT_ACTIVE =        	"+VK_F5"
KEY_TUBEBOT_ACTIVE =       	"+VK_F5"                        # same as AIMBOT
KEY_WEAPON_ESP =            "-VK_F6"
KEY_KNIFEBOT_ACTIVE =      	"-VK_F7"
KEY_AUTOSTAB =      		"+VK_F8"
KEY_TRIGGERBOT =    		"-VK_F9"
KEY_RADAR =         		"+VK_F10"
KEY_BOXESP =        		"+VK_F11"
KEY_BOX_SNAPLINE =   		"+VK_F12"

# all globals beginning with KEY_ are parsed and corresponding keys are being scanned
# key codes can be Windows VK_* key codes or single characters
# seperate multiple keys with spaces
KEY_BOT = "VK_RBUTTON VK_HOME"
KEY_TRIGGER_BOT_KEY = "VK_RBUTTON" # Note: this can be same button as KEY_BOT, I just made this available, since I like it :)
KEY_TUBEBOT = "VK_RBUTTON VK_HOME"
KEY_KNIFEBOT = "G VK_MBUTTON"
KEY_INDIRECT_BOT = "~VK_CAPITAL"        # CAPS LOCK
#KEY_SNIPER_BOT = "OFF"

TRIGGER_BOT_FIRE_KEY = "H"         # key triggered when using triggerbot
TRIGGER_BOT_FIRE_TICK_DELAY = 3     # number of ticks to wait between two fire actions
# ----------------------------------------------------------------------
# autostab parameters
AUTOSTAB_KEY = "V"
AUTOSTAB_DIST = 75              # distance in 1/10th of ft
AUTOSTAB_DIST_Z = 50            # max vertical distance (otherwise you try to stab people above/under you)
AUTOSTAB_DIST_RUN = 140         # distance for autostab while running
KEY_AUTOSTAB_RUN = "VK_LSHIFT"  # key mapped to the running key
# ----------------------------------------------------------------------
# C4 Auto fire
KEY_C4AUTOFIRE = "ON"
C4AUTOFIRE_DOUBLETAP_KEY = "F"  # key to double tap to trigger C4 fire
C4AUTOFIRE_DIST = 150           # distance in 1/10th of ft
C4AUTOFIRE_DIST_Z = 150          # max vertical distance (otherwise you try to stab people above/under you)KILLSTREAK_FONT_NAME = "Arial"
KEY_C4AUTOFIRE_DISPLAY = "ON"
C4AUTOFIRE_FONT_NAME = "Arial"
C4AUTOFIRE_FONT_SIZE = 24
C4AUTOFIRE_FONT_WEIGHT = 700    # bold
C4AUTOFIRE_FONT_COLOR = 0xE0DFBF00
C4AUTOFIRE_CENTER_Y = 0
C4AUTOFIRE_CENTER_RIGHT_X = 0
C4AUTOFIRE_MESSAGE = "C4 Autofire"
# ----------------------------------------------------------------------
KEY_GRENADECOOKING_ACTIVE = "ON"
KEY_GRENADECOOKING = "!G !VK_MBUTTON"
GRENADECOOKING_FONT_NAME = "Arial"
GRENADECOOKING_FONT_SIZE = 24
GRENADECOOKING_FONT_WEIGHT = 700    # bold
GRENADECOOKING_FONT_COLOR = 0xE0DF3F00
GRENADECOOKING_CENTER_Y = 20
GRENADECOOKING_TIMER = 4.7
# ----------------------------------------------------------------------
# killstreak counter
KEY_KILLSTREAK = "ON"           # always on
KILLSTREAK_FONT_NAME = "Arial"
KILLSTREAK_FONT_SIZE = 80
KILLSTREAK_FONT_WEIGHT = 700    # bold
KILLSTREAK_FONT_COLOR = 0x5FFFFFFF  # grey
# ----------------------------------------------------------------------
KEY_DOGS_ESP = "ON"                 # display dogs on ESP and Radar
# ----------------------------------------------------------------------
# Mouse inversion option: Mouse settings inverted = True; Mouse settings normal = False;
MOUSE_INVERSION = False

# ----------------------------------------------------------------------
# inspector class for debug
KEY_INSPECTOR = "VK_NUMPAD0"
KEY_INSPECT_POS = "VK_NUMPAD1"
KEY_INSPECT_DUMP = "!VK_NUMPAD9"
KEY_INSPECT_DUMP_PLAYERS = "!VK_NUMPAD7"
KEY_INSPECT_DUMP_CG = "!VK_NUMPAD8"
KEY_INSPECT_MOVE_MOUSE = "!VK_NUMPAD5"
KEY_INSPECT_AMMO = "!VK_NUMPAD6"

KEY_INSPECT_WEAPON_NAME = "VK_NUMPAD6"

KEY_FPS_VIEWER = "+VK_F11"
FPS_VIEWER_INTERVAL = 5        # number of ticks to measure the hack FPS
